Create and validate an appointment if the booking is hazardous

For N4 to validate a gate appointment for hazards, you must first

To create an appointment for hazards using the Add Appointment (on page 1) form in N4:

  1. Enter the hazardous booking number and the container number in the Add Appointment (on page 1) form.

  1. Check the Hazardous check box to indicate that the container is hazardous.

  2. Enter any other fields that are required and click Save.

N4 creates the appointment successfully.

If you do not check the Hazardous check box, N4 validates the appointment based on RejectTranNotMatchingHazardBooking (on page 1) and displays an error message.

To create an appointment for hazards using the create-appointment API,

  1. Add the ‘is-hazard’ attribute to the create-appointment API as in the image below.

 

  1. If the container is hazardous, set the ‘is-hazard’ attribute to ‘true’.

  2. Post the API with the hazardous booking number and the container number.

N4 creates the appointment and updates the Hazardous field as 'Yes' in the Appointment form (on page 1).

If you set the ‘is-hazard’ attribute to 'false' and post the API with the hazardous booking and container details, the webservice responds with the error message "Booking xyz is a hazardous booking and no hazard details have been entered".

N4 does not validate the appointment if -

You do not configure the Hazardous field in the Appt Tran Type form (on page 1)

You do not include the ‘is-hazard’ attribute in the API